package models

import "server/dao"

func ModelMigrate() {
	dao.DB.AutoMigrate(&AdminUser{})
	dao.DB.AutoMigrate(&AdminRole{})
	dao.DB.AutoMigrate(&AdminAuth{})
	dao.DB.AutoMigrate(&AdminDownload{})
	dao.DB.SingularTable(true)
}
